package day14;

class Car{ 

public Car(){
System.out.println("car"); 
} 

} 
//奥迪类 
class Audi extends Car{ 
public Audi(){
System.out.println("audi"); 
} 
} 

public class hw6test { 
public static void main(String[] args){ 
Audi audi = new Audi(); 
Car car = new Car(); 
} 
}

